package com.gaoyi.crm.db.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import com.gaoyi.crm.db.CrmDatabase;

import java.util.Date;

@Entity(tableName = CrmDatabase.TABLE_VERSION)
public class TableVersion {
    @PrimaryKey(autoGenerate = true)
    private int _id;
    private String objName;
    private int synVer;
    private Date createdAt;
    private Date modifyAt;

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getObjName() {
        return objName;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public int getSynVer() {
        return synVer;
    }

    public void setSynVer(int synVer) {
        this.synVer = synVer;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getModifyAt() {
        return modifyAt;
    }

    public void setModifyAt(Date modifyAt) {
        this.modifyAt = modifyAt;
    }
}
